package com.example.pceb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("ip_transaction")
public class IpTransaction {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String title;
    private String description;
    private String type;
    private BigDecimal price;
    private String status;
    private String sellerUsername;
    private String buyerUsername;
    private String qrCodeUrl;
    private Boolean transferConfirmed;
    private LocalDateTime createTime;
}
